export function mapUserBasicInfo(user) {
  if (!user) return null;

  return {
    id: user.id,
    name: user.username,
  };
}

export default { mapUserBasicInfo };
